import Vue from 'vue'
import App from './App.vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import vueRouter from 'vue-router'

Vue.use(Vant);
Vue.use(vueRouter)
Vue.config.productionTip = false



new Vue({
  render: h => h(App),
  router: new vueRouter({
    routes: [
      {
        path: '/',  // 路径
        component: ()=>import('./page/page-home.vue')  // 对应的路径加载的界面
      }
    ]
  })
}).$mount('#app')
